<style>
    #cell-1 { width: 280px; }
    #cell-1 dt { width: 30px; }
    #cell-1 dd { width: 200px; }
    #cell-2 { width: 440px; }
    #cell-2 dt { width: 140px; }
    #cell-2 dd { width: 260px; }
    #cell-3 { width: 340px; }
    #cell-3 dt { width: 200px; }
    #cell-3 dd { width: 100px; }
    #cell-4 { width: 340px; }
    #cell-4 dt { width: 140px; }
    #cell-4 dd { width: 160px; }
    div.vgrid dd { line-height: 20px; padding-right: 40px; }
</style>    

<div class="vheader">
    <h1><?php echo $this->Sponsors->d->Sponsor ?></h1>
    <p><?php echo $this->replaceEmpty($this->Sponsors->d->Partner,$this->translate("Independent sponsor")) ?>
</div>

<div class="vcontent">

<div id="cell-1">
    <!--<img class="shadow" src="<?php echo $this->picSrc($this->data['SponsorId'],'u') ?>" />-->
</div>

<div id="cell-2">
    <dl>
        <dt><?php echo $this->translate("Sponsor") ?></dt>
        <dd><?php echo $this->Sponsors->d->Sponsor ?></dd>
        <dt><?php echo $this->translate("Partner") ?></dt>
        <dd><?php echo $this->link('/sponsor/partner/view',array('id'=>$this->Sponsors->d->PartnerId),$this->Sponsors->d->Partner) ?></dd>
        <dt><?php echo $this->translate("Username") ?></dt>
        <dd><?php echo $this->Sponsors->d->Username ?></dd>
        <dt><?php echo $this->translate("Women only") ?></dt>
        <dd><?php echo $this->Sponsors->d->WomenOnly ?></dd>
        <dt><?php echo $this->translate("Status") ?></dt>
        <dd><?php echo $this->Sponsors->d->Status ?></dd>
        <dt><?php echo $this->translate("Contact") ?></dt>
        <dd><?php echo $this->Sponsors->d->FullName ?></dd>
        <dt><?php echo $this->translate("Email") ?></dt>
        <dd><?php echo $this->replaceEmpty($this->Sponsors->d->Email,'-') ?></dd>
        <dt><?php echo $this->translate("Comments") ?></dt>
        <dd><?php echo $this->replaceEmpty($this->Sponsors->d->Comments,'-') ?></dd>
    </dl>
</div>

<?php //echo $this->partial('partials/performance.phtml', $this->Sponsors->p); ?>

</div>    
    
<div class="vfooter">
    <div class="menu">
        <?php echo $this->link('/sponsor/sponsor/add', array('id'=>$this->Sponsors->d->SponsorId),$this->translate("Edit sponsor")) ?> 
        <?php echo $this->link('/sponsor/donation/browse', array('SponsorId'=>$this->Sponsors->d->SponsorId),$this->translate("Donations"), array('target'=>'bottom')) ?>  
        <?php echo $this->link('/sponsor/donation/add', array('sponsor'=>$this->Sponsors->d->SponsorId),$this->translate("Add donation")) ?> 
        <?php echo $this->link('/sponsor/donation-allocation/browse', array('SponsorId'=>$this->Sponsors->d->SponsorId),$this->translate("Loans"),array('target'=>'bottom')) ?>          
    </div>
</div>


<!-- Notes

1. Total donado (con link a historial de donaciones)
2. Total desembolsado (con link a historial de desembolsos)
3. Numero de desembolsos historico
4. Total repagado
5. Cartera activa (con link a prestamos activos)
6. Castigo (con link a prestamos castigados)
7. Total de ingresos
8. Priority index
9. Recycling rate
10. PAR 30

-->